#include "epollServer.hpp"
#include <memory>

void change(std::string s)
{
        //完成业务逻辑
    std::cout << "change : " << s << std::endl;
}

int main()
{
    std::unique_ptr<ns_epoll::epollServer> esvr (new ns_epoll::epollServer(change));
    esvr->Start();

    return 0;
}